package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class CategorySonListVo {
    @Schema(type = "Integer", name = "id", description = "品类id", required = true, defaultValue = "1")
    private Integer id;
    @Schema(type = "String", name = "name", description = "品类名称", required = true, defaultValue = "美食")
    private String name;
    @Schema(type = "String", name = "cover", description = "品类封面图", required = true, defaultValue = "xxx/xxx.jpg")
    private String cover;


    @Schema(type = "List", name = "categoryListVos", description = "子类品类", required = true, defaultValue = "[]")
    private List<CategoryListVo> categoryListVos;
}
